const path = require('path');

module.exports = {
  entry: './asset/js/index.js',
  output: {
    filename: 'index.js',
    path: path.resolve(__dirname, 'app/public/js')
  },
  // 设置打包的环境；默认 production；
  mode: 'development'

  // 
};